const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '': {
        target: 'http://www.ecook.cn/toutiao',
        changeOrigin: true,
        headers: {
          'content-type': 'text/html;charset=UTF-8'
        }
      },
      '/web': {
        target: 'http://pic.angelboy.cn/'
      }
    }
  }
})
